import request from '../utils/request';

// 查询所有大分类
export const selectBigClass = () => {
    return request({
        url: '/selectBigClass',
        method: 'post',
    });
};

// 通过大分类查询小分类
export const selectLittleClass = (data) => {
    return request({
        url: '/selectLittleClass',
        method: 'post',
        data
    });
};
